package controllers;

import play.i18n.Lang;
import play.mvc.Controller;

public class Application extends Controller {

    public static void index() {
        render();
    }
    
    public static void changeLanguage(String lang){
    	String currentLang = Lang.get();
    	if(!lang.equals(currentLang)){
    		Lang.change(lang);
    	}
    	render("CRUD/index.html");
    }

}